﻿using System;
using EntitiesTM;

namespace TimeWork.usercontrol
{
    public partial class LoginBox : System.Web.UI.UserControl
    {
        public EnStaff StaffExist { get; set; }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                LblUsername.Text = StaffExist.staffName;
                LblPermission.Text = StaffExist.permissionName;
            }
        }
    }
}